﻿using System;
using System.Collections.Generic;
using System.Windows.Forms;
using System.Xml;
using ProjMin.Database;
using ProjMin.Utils;
namespace ProjMin {
    static class Program {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>

        public static ConfigReader config = new ConfigReader("config.xml");        
        public static DbConnection mainDb = null;
        [STAThread]
        static void Main() {
            Program.mainDb = new DbConnection(Program.config.getDbConfig());
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.Run(new MainFrm());
            
        }
    }
}
